/*
 ** 完美通行证
 *  by jackyang
 *  2015-06-19
 */

// 注册命名空间
var DOTA2 = {};
DOTA2.passport = {};
//关闭窗口
window.top.document._closeWindow = function () {
    var scope = window.top.document;
    if (scope.getElementById('J_dialog_passport') != null) {
        var obj = scope.getElementById('J_dialog_passport');
        if (obj != null) {
            obj.parentNode.removeChild(obj);
        }
    }
    if (scope.getElementById('overlay01') != null) {
        var obj = scope.getElementById('overlay01');
        if (obj != null) {
            obj.style.display = 'none';
        }
    }
};
